Skip to main content

GetObjectACL

Description

GetObjectACL is used to obtain access information for Object.

Request Method

POST

Request Path

/apsara/route/OneRouter/GetObjectACL

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
AccessControlListBODYcontainerNoNo sample value for this parameter.container for storing ACL information.
GrantBODYenumeration stringNoNo sample value for this parameter.ACL permissions of Object. valid values: private, public-read, public-read-write
AccessControlPolicyBODYcontainerNoNo sample value for this parameter.container for holding GetObjectACL results.
OwnerBODYcontainerNoNo sample value for this parameter.container for storing bucket owner information.
regionIdBODYstringYesNo sample value for this parameter.region id
DisplayNameBODYstringNoNo sample value for this parameter.the name of the bucket owner (currently the same as the ID).
IDBODYstringNoNo sample value for this parameter.the user ID of the bucket owner.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}